Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@forter/icon
Advanced tools
Icon element with global icon cache.
Create blue icon and red on hover.
.custom-icon {
--fc-icon-fill: blue;
--fc-icon-fill-hover: red;
}
<fc-icon hoverable class="custom-icon"></fc-icon>
Property | Attribute | Type | Default | Description |
---|---|---|---|---|
cache | Map<any, any> | Reference to the icon cache. This globally shared reference stores icons for all instance. | ||
fallbackIcon | fallback-icon | string | "FC_ICON_DEFAULT" | The fallback icon key for the instance |
hoverable | hoverable | boolean | false | Whether the icon will change colour when hovered. |
icon | icon | string | "" | The icon key. Used to lookup icon in the cache. Falls back to 'forter' whenever an icon is not found. |
originalFill | original-fill | boolean | false | Whether to use the icon's original 'fill' SVG property. Needed for multicolor icons or for certain types of SVG. |
size | size | string |
Property | Description |
---|---|
--fc-icon-fill | icon's svg fill. default: currentColor |
--fc-icon-fill-hover | icon's svg fill on hover. default: var(--cyan-5) |
--fc-icon-size | icon's size. default: 20px |
FAQs
fc-icon from Forter Components
The npm package @forter/icon receives a total of 188 weekly downloads. As such, @forter/icon popularity was classified as not popular.
We found that @forter/icon demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.